package com.campus.service.impl;

import com.campus.dao.CourseDao;
import com.campus.model.Course;
import com.campus.service.CourseService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author HLQ
 * @date 2024/11/19 16:11
 */
@Slf4j
@Service
public class CourseServiceImpl implements CourseService {
    @Autowired
    private CourseDao courseDao;
    @Override
    public int addCourse(Course course) {
        return courseDao.addCourse(course);
    }

}
